CHALLENGE 8: Help put the fish back in the water!

  • Click Run and see what happens to the fish.
  • Change the range of where the fish appears, so it will ALWAYS swim underwater.

Remember, the command random.randint(x, y) returns a random number between x and y.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)